package com.neuedu.helloworld.entity;

import lombok.Data;

import javax.validation.constraints.Size;
import java.util.Date;

@Data
public class User {


    private Integer id;


    @Size(max = 10,message = "{user.name.length.max}")
    private String name;

    private Date birthday;

}
